import http from '@/utils/http'
/**
 * 一级分类目录
 * @returns 
 */
export const getCategoryTop = () => {
    return http({
        url: '/category/top'
    })
}

export const getCategory = (params) => {
    return http({
        url: '/category',
        params,
    })
}